<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
      xmlns:hhm="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>[[${tableTitle}]]编辑</title>
    <script>
        var contextPath = '[[${#servletContext.contextPath}]]';
    </script>


    <script type="text/javascript"
            th:src="|${#servletContext.contextPath}/plugins/editor/UEditor/ueditor.config.js|"></script>

    <script type="text/javascript"
            th:src="|${#servletContext.contextPath}/plugins/editor/UEditor/ueditor.all.js|"></script>
    <!-- 配置文件 -->
    <!--    <script type="text/javascript" src="ueditor.config.js"></script>-->
    <!-- 编辑器源码文件 -->
    <!--    <script type="text/javascript" src="ueditor.all.js"></script>-->

</head>
<body>

<section layout:fragment="content">
    <div data-options="region:'center',border:true">
        <form action="" method="post" id="EditForm" name="EditForm"
              style="width:100%;height:100%;">
            <div class="easyui-tabs" data-options="border:false,fit:true,plain:true">
                <div title="基本属性" style="padding:16px;">
                    <table class="table">
                        <tr>
                            <th class="tdright">
                                内容：<em></em>
                            </th>
                            <td>
                                <div>
                                    <!-- 加载编辑器的容器 -->
                                    <script id="container" name="content" type="text/plain">
        这里写你的初始化内容


                                    </script>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </form>
    </div>
</section>
<!-- 实例化编辑器 -->
<script type="text/javascript">
    var ue = UE.getEditor('container');
</script>
</body>
</html>